package com.ftg.learn.day10.factory;

import com.ftg.learn.day09.exam02.Dog;

/**
 * @author kangjx
 * @version 1.0
 * @date 2023/8/11 下午2:11
 */
public class UserDog extends Dog {

    private String bushiren;

    public static void main(String[] args) {
        //50
        Dog d = new Dog();
        d.setName("败德");
        d.setColor("蓝色");


        UserDog userDog = new UserDog();
        userDog.setName(d.getName());
        userDog.setColor(d.getColor());

//        有效工时
    }

}
